#ifndef RCSYMBIANDEFINES_H
#define RCSYMBIANDEFINES_H

#include "symbian/symbiandefines.h"

/**
  * Since "rcsymbian" implementation reuses "symbian"
  * implementation heavily, the generator phase values
  * used for "rcsymbian" will have to be backward compatible
  * with the ones used for "symbian", as those values are
  * used / set by the reused code.
  *
  * In addition to these, "rcsymbian" has its own values too.
  */
enum RcSymbianGeneratorPhase {
    // compatible with "symbian" build
    RCS_INITIAL            = INITIAL,
    RCS_UNZIP_WIDGET       = UNZIP_WIDGET,
    RCS_QMAKE_APP          = QMAKE_APP,
    RCS_MAKE_APP           = MAKE_APP,
    RCS_MAKESIS_APP        = MAKESIS_APP,
    RCS_ENDED_SUCCESSFULLY = ENDED_SUCCESSFULLY,
    RCS_ENDED_WITH_ERRORS  = ENDED_WITH_ERRORS,

    // rcsymbian specific phases
    RCS_PKGZIPPING,
    RCS_PKGUPLOADING_WAITING,
    RCS_DOWNLOADING
};


/**
  * This operator let's you treat GeneratorPhase as if it was
  * the same enum type as SymbianGeneratorPhase.
  */
bool operator==(const GeneratorPhase    & left,
                RcSymbianGeneratorPhase   right);

#endif // RCSYMBIANDEFINES_H
